﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using xListControls;
using AjaxControlToolkit;
using System.ComponentModel;

namespace MutuallyExclusiveListboxes
{
	[Designer(typeof(MutuallyExclusiveListBoxesDesigner))]
	[ClientScriptResource("MutuallyExclusiveListboxes.MELBehavior", "MutuallyExclusiveListboxes.MELBehavior.js")]
	[TargetControlType(typeof(xListBox))]
	public class MutuallyExclusiveListboxesExtender : ExtenderControlBase
	{



		[DefaultValue("")]
		[ExtenderControlProperty]
		[ClientPropertyName("btnRight")]
		[ElementReference]
		[IDReferenceProperty]
		public virtual string ButtonRight
		{
			get { return GetPropertyValue("ButtonRight", string.Empty); }
			set { SetPropertyValue("ButtonRight", value); }
		}

		[DefaultValue("")]
		[ExtenderControlProperty]
		[ClientPropertyName("btnLeft")]
		[ElementReference]
		[IDReferenceProperty]
		public virtual string ButtonLeft
		{
			get { return GetPropertyValue("ButtonLeft", string.Empty); }
			set { SetPropertyValue("ButtonLeft", value); }
		}

		[DefaultValue("")]
		[ExtenderControlProperty]
		[ClientPropertyName("listboxB")]
		[ElementReference]
		[IDReferenceProperty]
		public virtual string ListboxB
		{
			get { return GetPropertyValue("ListboxB", string.Empty); }
			set { SetPropertyValue("ListboxB", value); }
		}
	}
}